package com.pcbly.web.persistence.form;

import java.util.List;

import com.pcbly.web.bean.field.FormSortBean;
import com.pcbly.web.persistence.HibernateBaseDao;

public class FormSortHibernateDao extends HibernateBaseDao<FormSortBean>
		implements FormSortDao {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8518117450863579844L;
	public FormSortHibernateDao(){
		super();
	}
	protected Class<FormSortBean> getEntityClass() {
		return FormSortBean.class;
	}

	@SuppressWarnings("unchecked")
	@Override
	public List<FormSortBean> findFormSortBeans() throws Exception {
		// TODO Auto-generated method stub
		return getHibernateTemplate().find("from FormSortBean");
	}
	
}
